package com.qidianit.springboot.mapper;

import com.qidianit.springboot.entity.Student;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {

  Student selectDetail(Integer id);

   Student selectDetailById( Integer id);

    Student selectByNameAndEmail(@Param("name") String name, @Param("email") String email);
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
}